[INFO] fetching crate threadcell 1.0.3...
[INFO] fixing threadcell-1.0.3 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate threadcell 1.0.3 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate threadcell 1.0.3
[INFO] finished tweaking crates.io crate threadcell 1.0.3
[INFO] tweaked toml for crates.io crate threadcell 1.0.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate threadcell 1.0.3 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 1 package to latest compatible version
[INFO] [stderr]       Adding mutants v0.0.3 (available: v0.0.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0a5c2fb3977455e92eaf8b045271f3b9d596b4e6e9a927f8ce230b369296dc0c
[INFO] running `Command { std: "docker" "start" "0a5c2fb3977455e92eaf8b045271f3b9d596b4e6e9a927f8ce230b369296dc0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0a5c2fb3977455e92eaf8b045271f3b9d596b4e6e9a927f8ce230b369296dc0c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a5c2fb3977455e92eaf8b045271f3b9d596b4e6e9a927f8ce230b369296dc0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0a5c2fb3977455e92eaf8b045271f3b9d596b4e6e9a927f8ce230b369296dc0c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking threadcell v1.0.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/globals.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> tests/globals.rs:39:30
[INFO] [stdout]     |
[INFO] [stdout]  39 |         if let Some(guard) = MUT_GLOBAL2.try_acquire_guard() {
[INFO] [stdout]     |                     -----    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |        |
[INFO] [stdout]     |                     |        this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                     |        up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                     `guard` calls a custom destructor
[INFO] [stdout]     |                     `guard` will be dropped later as of Edition 2024
[INFO] [stdout]  40 |             let mut cell = guard.borrow_mut();
[INFO] [stdout]     |                 --------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `cell` calls a custom destructor
[INFO] [stdout]     |                 `cell` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  47 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> src/lib.rs:636:1
[INFO] [stdout]     |
[INFO] [stdout] 636 | impl<T> Drop for Guard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `guard` invokes this custom destructor
[INFO] [stdout]    --> src/lib.rs:636:1
[INFO] [stdout]     |
[INFO] [stdout] 636 | impl<T> Drop for Guard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `cell` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/cell.rs:2050:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> tests/globals.rs:30:30
[INFO] [stdout]     |
[INFO] [stdout]  30 |         if let Some(guard) = MUT_GLOBAL2.try_acquire_guard() {
[INFO] [stdout]     |                     -----    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |        |
[INFO] [stdout]     |                     |        this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                     |        up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                     `guard` calls a custom destructor
[INFO] [stdout]     |                     `guard` will be dropped later as of Edition 2024
[INFO] [stdout]  31 |             let cell = guard.borrow();
[INFO] [stdout]     |                 ----
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `cell` calls a custom destructor
[INFO] [stdout]     |                 `cell` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  36 |     });
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> src/lib.rs:636:1
[INFO] [stdout]     |
[INFO] [stdout] 636 | impl<T> Drop for Guard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `guard` invokes this custom destructor
[INFO] [stdout]    --> src/lib.rs:636:1
[INFO] [stdout]     |
[INFO] [stdout] 636 | impl<T> Drop for Guard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `cell` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/cell.rs:1582:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/globals.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         MUT_GLOBAL.acquire();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 - static mut MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout] 13 + static MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/singlethreaded.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/globals.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |         assert_eq!(*MUT_GLOBAL.get(), 345);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 - static mut MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout] 13 + static MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/globals.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 |         *MUT_GLOBAL.get_mut() = 456;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 - static mut MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout] 13 + static MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/globals.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |         assert_eq!(*MUT_GLOBAL.get(), 456);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 - static mut MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout] 13 + static MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/guards.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/guards.rs:50:30
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut guard = unsafe { DISOWNED.acquire_guard_mut() };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 48 -     static mut DISOWNED: ThreadCell<i32> = ThreadCell::new_disowned(234);
[INFO] [stdout] 48 +     static DISOWNED: ThreadCell<i32> = ThreadCell::new_disowned(234);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/guards.rs:56:30
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let guard = unsafe { DISOWNED.acquire_guard() };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 48 -     static mut DISOWNED: ThreadCell<i32> = ThreadCell::new_disowned(234);
[INFO] [stdout] 48 +     static DISOWNED: ThreadCell<i32> = ThreadCell::new_disowned(234);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s
[INFO] [stderr] crater-edition-check: threadcell v1.0.3 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking threadcell v1.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:134:26
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn acquire_guard(&self) -> Guard<T> {
[INFO] [stdout]     |                          ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn acquire_guard(&self) -> Guard<'_, T> {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:150:30
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn try_acquire_guard(&self) -> Option<Guard<T>> {
[INFO] [stdout]     |                              ^^^^^            ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn try_acquire_guard(&self) -> Option<Guard<'_, T>> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:173:30
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn acquire_guard_mut(&mut self) -> GuardMut<T> {
[INFO] [stdout]     |                              ^^^^^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn acquire_guard_mut(&mut self) -> GuardMut<'_, T> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:188:34
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn try_acquire_guard_mut(&mut self) -> Option<GuardMut<T>> {
[INFO] [stdout]     |                                  ^^^^^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn try_acquire_guard_mut(&mut self) -> Option<GuardMut<'_, T>> {
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:134:26
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn acquire_guard(&self) -> Guard<T> {
[INFO] [stdout]     |                          ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn acquire_guard(&self) -> Guard<'_, T> {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:150:30
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn try_acquire_guard(&self) -> Option<Guard<T>> {
[INFO] [stdout]     |                              ^^^^^            ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn try_acquire_guard(&self) -> Option<Guard<'_, T>> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:173:30
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn acquire_guard_mut(&mut self) -> GuardMut<T> {
[INFO] [stdout]     |                              ^^^^^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn acquire_guard_mut(&mut self) -> GuardMut<'_, T> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:188:34
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn try_acquire_guard_mut(&mut self) -> Option<GuardMut<T>> {
[INFO] [stdout]     |                                  ^^^^^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn try_acquire_guard_mut(&mut self) -> Option<GuardMut<'_, T>> {
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/globals.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         MUT_GLOBAL.acquire();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 - static mut MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout] 13 + static MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/globals.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |         assert_eq!(*MUT_GLOBAL.get(), 345);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 - static mut MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout] 13 + static MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/globals.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 |         *MUT_GLOBAL.get_mut() = 456;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 - static mut MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout] 13 + static MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/globals.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |         assert_eq!(*MUT_GLOBAL.get(), 456);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 - static mut MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout] 13 + static MUT_GLOBAL: ThreadCell<u64> = ThreadCell::new_disowned(345);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `threadcell` (test "globals") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/guards.rs:50:30
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut guard = unsafe { DISOWNED.acquire_guard_mut() };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 48 -     static mut DISOWNED: ThreadCell<i32> = ThreadCell::new_disowned(234);
[INFO] [stdout] 48 +     static DISOWNED: ThreadCell<i32> = ThreadCell::new_disowned(234);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/guards.rs:56:30
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let guard = unsafe { DISOWNED.acquire_guard() };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 48 -     static mut DISOWNED: ThreadCell<i32> = ThreadCell::new_disowned(234);
[INFO] [stdout] 48 +     static DISOWNED: ThreadCell<i32> = ThreadCell::new_disowned(234);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `threadcell` (test "guards") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "0a5c2fb3977455e92eaf8b045271f3b9d596b4e6e9a927f8ce230b369296dc0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a5c2fb3977455e92eaf8b045271f3b9d596b4e6e9a927f8ce230b369296dc0c", kill_on_drop: false }`
[INFO] [stdout] 0a5c2fb3977455e92eaf8b045271f3b9d596b4e6e9a927f8ce230b369296dc0c
